package anaydis.sort.gui;

import com.sun.istack.internal.NotNull;

/**
 * An�lisis y Dise�o de Algoritmos - Pr�ctica 2009
 *
 * Interface to provide holding support for {@link SorterListener listeners}
 */
public interface ObservableSorter 
{
    /**
     * Adds the given SorterListener
     * @param listener to be added
     */
    void addSorterListener(@NotNull final SorterListener listener);

    /**
     * Removes the given SorterListener
     * @param listener to be removed
     */
    void removeSorterListener(@NotNull final SorterListener listener);
}
